package com.hik.rpq.proxy.FactoryProxy.example.entity;

import lombok.Data;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

/**
 * @author renpeiqian
 * @date 2021/8/19 9:10
 * @since
 */
@Data
public class Cart {

    //商品清单
    private List<Item> items = new ArrayList<>();

    //总优惠
    private BigDecimal totalDiscount;

    // 商品总价
    private BigDecimal totalItemPrice;

    // 总运费
    private BigDecimal totalDeliveryPrice;

    // 应付总价
    private BigDecimal payPrice;
}
